function processEva(){
    //$(this).delay(5000,function(){alert("hola")});
    //document.evaluacionForm.evaluacion.enable=false;
    //$('#evaluacion').attr('disabled', 'disabled');
    $("#message")[0].innerHTML="<img src='media/ani-rebuild.gif'/>";

    $.ajax({
        type: "POST",
        url: "index.php?controller=paper&action=evaluacionUpdate",
        data: $("#evaluacionForm").serializeArray(),
        success: showMessage,
        error: err
    })    
}

function showMessage(data){
    $("#message")[0].innerHTML=data;
    $('#evaluacion').attr('disabled', 'disabled');
    $(this).delay(5000,function(){
        $("#message")[0].innerHTML="";
    });
}

function err(xhr, reason, ex){
    $("#message").text(reason);
}
